# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'NameQueryWidget.ui'
#
# Created: Fri Dec 23 17:40:05 2011
#      by: PyQt4 UI code generator 4.8.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_NameQueryWidget(object):
    def setupUi(self, NameQueryWidget):
        NameQueryWidget.setObjectName(_fromUtf8("NameQueryWidget"))
        NameQueryWidget.resize(628, 139)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(NameQueryWidget.sizePolicy().hasHeightForWidth())
        NameQueryWidget.setSizePolicy(sizePolicy)
        NameQueryWidget.setWindowTitle(QtGui.QApplication.translate("NameQueryWidget", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.gridLayout = QtGui.QGridLayout(NameQueryWidget)
        self.gridLayout.setMargin(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.valueEdit = QtGui.QLineEdit(NameQueryWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.valueEdit.sizePolicy().hasHeightForWidth())
        self.valueEdit.setSizePolicy(sizePolicy)
        self.valueEdit.setMinimumSize(QtCore.QSize(300, 0))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(10)
        self.valueEdit.setFont(font)
        self.valueEdit.setObjectName(_fromUtf8("valueEdit"))
        self.gridLayout.addWidget(self.valueEdit, 0, 1, 1, 1)
        self.titleLabel = QtGui.QLabel(NameQueryWidget)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(10)
        self.titleLabel.setFont(font)
        self.titleLabel.setText(QtGui.QApplication.translate("NameQueryWidget", "Name query:", None, QtGui.QApplication.UnicodeUTF8))
        self.titleLabel.setObjectName(_fromUtf8("titleLabel"))
        self.gridLayout.addWidget(self.titleLabel, 0, 0, 1, 1)
        self.removeBtn = QtGui.QToolButton(NameQueryWidget)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(8)
        self.removeBtn.setFont(font)
        self.removeBtn.setText(QtGui.QApplication.translate("NameQueryWidget", "X", None, QtGui.QApplication.UnicodeUTF8))
        self.removeBtn.setAutoRaise(True)
        self.removeBtn.setObjectName(_fromUtf8("removeBtn"))
        self.gridLayout.addWidget(self.removeBtn, 0, 3, 1, 1)

        self.retranslateUi(NameQueryWidget)
        QtCore.QMetaObject.connectSlotsByName(NameQueryWidget)

    def retranslateUi(self, NameQueryWidget):
        pass


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    NameQueryWidget = QtGui.QWidget()
    ui = Ui_NameQueryWidget()
    ui.setupUi(NameQueryWidget)
    NameQueryWidget.show()
    sys.exit(app.exec_())

